package cn.bdqn.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value = "酒店实体类", description = "这是用来描述一个类的信息")
public class ItripHotel {

    @ApiModelProperty(value = "主键", required = true, notes = "这是必须要填")
    private Long id;

    @ApiModelProperty(value = "酒店名称")
    private String hotelName;

    @ApiModelProperty(value = "所在国家id", required = true, notes = "这是必须要填")
    private Long countryId;

    @ApiModelProperty(value = "所在省份id")
    private Long provinceId;

    @ApiModelProperty(value = "所在城市id")
    private Long cityId;

    @ApiModelProperty(value = "酒店所在地址", required = true, notes = "这是必须要填")
    private String address;

    @ApiModelProperty(value = "酒店类型", required = true, notes = "1:国内酒店 2:国际酒店")
    private Integer hotelType;

    @ApiModelProperty(value = "酒店星级", required = true, notes = "1:经济酒店  2:二星级酒店  3:三星级 4:四星酒店 5星酒店")
    private Integer hotelLevel;

    @ApiModelProperty(value = "是否是团购酒店", required = true, notes = "必填")
    private Integer isGroupPurchase;

    @ApiModelProperty(value = "城市名称",notes = "冗余字段")
    private String redundantCityName;

    @ApiModelProperty(value = "省名称",notes = "冗余字段")
    private String redundantProvinceName;

    @ApiModelProperty(value = "国家名称", required = true,notes = "冗余字段")
    private String redundantCountryName;

    @ApiModelProperty(value = "酒店库存",notes = "冗余，每天开定时任务的时候更新")
    private Integer redundantHotelStore;

    @ApiModelProperty(value = "创建日期", required = true, notes = "必填")
    private Date creationDate;
    private String details;
    private Long createdBy;

    private Date modifyDate;

    private Long modifiedBy;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getHotelName() {
        return hotelName;
    }

    public void setHotelName(String hotelName) {
        this.hotelName = hotelName == null ? null : hotelName.trim();
    }

    public Long getCountryId() {
        return countryId;
    }

    public void setCountryId(Long countryId) {
        this.countryId = countryId;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getHotelType() {
        return hotelType;
    }

    public void setHotelType(Integer hotelType) {
        this.hotelType = hotelType;
    }

    public Integer getHotelLevel() {
        return hotelLevel;
    }

    public void setHotelLevel(Integer hotelLevel) {
        this.hotelLevel = hotelLevel;
    }

    public Integer getIsGroupPurchase() {
        return isGroupPurchase;
    }

    public void setIsGroupPurchase(Integer isGroupPurchase) {
        this.isGroupPurchase = isGroupPurchase;
    }

    public String getRedundantCityName() {
        return redundantCityName;
    }

    public void setRedundantCityName(String redundantCityName) {
        this.redundantCityName = redundantCityName == null ? null : redundantCityName.trim();
    }

    public String getRedundantProvinceName() {
        return redundantProvinceName;
    }

    public void setRedundantProvinceName(String redundantProvinceName) {
        this.redundantProvinceName = redundantProvinceName == null ? null : redundantProvinceName.trim();
    }

    public String getRedundantCountryName() {
        return redundantCountryName;
    }

    public void setRedundantCountryName(String redundantCountryName) {
        this.redundantCountryName = redundantCountryName == null ? null : redundantCountryName.trim();
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public Integer getRedundantHotelStore() {
        return redundantHotelStore;
    }

    public void setRedundantHotelStore(Integer redundantHotelStore) {
        this.redundantHotelStore = redundantHotelStore;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Long getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(Long modifiedBy) {
        this.modifiedBy = modifiedBy;
    }
}